/*
 * @Description:
 * @Version: 1.0
 * @Autor: yel
 * @Date: 2022-03-19 10:12:25
 * @LastEditors: yel
 * @LastEditTime: 2022-03-19 10:14:47
 */
import Cookies from "js-cookie";

const TokenKey = "Admin-Token";

export function getToken() {
    return Cookies.get(TokenKey);
}

export function setToken(token) {
    return Cookies.set(TokenKey, token);
}

export function removeToken() {
    return Cookies.remove(TokenKey);
}
